<template>
	<view class="container">
		<navBar title="发优惠券"></navBar>
		<image class="banner-text" :src="bg_image.text"></image>
		<view class="content">
			<view class="title" :class="{'orange':query.merchantCouponType===2}">
			{{query.couponMoney || ''}}
			{{query.merchantCouponType===1?'元':''}}
			{{query.merchantCouponType===1?'满减券':'全免券'}}</view>
			<view class="img-box">
				<image class="code-img" :src="codeImg"></image>
			</view>
			<view class="send" @click="sendUser">发送给指定用户</view>
		</view>
	</view>
</template>

<script>
	import sendCoupon from './js/sendCoupon'
	
	export default {
		components: {
		  
		},
		...sendCoupon 
	}
</script>

<style lang="less" scoped>
	@import url('./css/sendCoupon.less');
</style>